package io.awen.modules.sign.dao;

import io.awen.modules.sign.entity.SignCarLonLatEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 收运单位车辆经纬度记录表
 * 
 * @author liu.wen
 * @email liu.wen@qq.com
 * @date 2022-08-10 00:47:08
 */
@Mapper
public interface SignCarLonLatDao extends BaseMapper<SignCarLonLatEntity> {
    SignCarLonLatEntity getLatestByCarId(@Param("carId") long carId, @Param("date") String date);

    List<SignCarLonLatEntity> getListByCarId(@Param("carId") long carId, @Param("startDate") String startDate,@Param("endDate") String endDate);



}
